package org.fengling.readingplatform.booklist;

import org.fengling.readingplatform.common.annotation.EnableUserLoginAuthInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)  // 排除数据库的自动化配置，Booklist微服务不需要访问数据库
@EnableFeignClients(basePackages = {"org.fengling.readingplatform"})
@EnableUserLoginAuthInterceptor
public class BooklistApplication {

    public static void main(String[] args) {
        SpringApplication.run(BooklistApplication.class , args) ;
    }

}